<template>
	<view class="content">
		<view class="item" v-for="(item,index) in 7" :key="index">
			<view class="title">
				BIOSDJK
			</view>
			<view class="name">
				<view>lj1****4@gamil.com</view>
				<view class="vip"
					:style="{background: 'url(/static/my/vip'+(index+1)+'.png)',backgroundSize: '77.14rpx 28rpx'}">
					{{index+1}}
				</view>
			</view>
			<view class="time">
				邀请时间：2023-11-11 14:02
			</view>
			<view class="cpu">
				微力CPU
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad(e) {
			if (e.type == 1) {
				uni.setNavigationBarTitle({
					title: '核心算力圈'
				})
			} else {
				uni.setNavigationBarTitle({
					title: '辅助算力圈'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		padding: 30rpx;

		.item {
			padding: 30rpx;
			border-radius: 20rpx;
			background-color: #0C0C1B;
			color: #ffffff;
			position: relative;
			margin-top: 20rpx;

			.title {
				font-size: 32rpx;
				font-weight: 700;
			}

			.name {
				font-size: 24rpx;
				display: flex;

				.vip {
					font-size: 24rpx;
					color: #0C0C1B;
					width: 77.14rpx;
					height: 28rpx;
					line-height: 28rpx;
					text-align: center;
					padding-left: 15rpx;
					background-repeat: no-repeat;
					font-weight: 700;
					margin-left: 20rpx;
				}
			}

			.time {
				padding: 15rpx 20rpx;
				background-color: rgba(255, 255, 255, .33);
				background: linear-gradient(to right, rgba(255, 255, 255, .33) 0%, rgba(255, 255, 255, 0));
				font-size: 26rpx;
				margin-top: 30rpx;
			}

			.cpu {
				font-size: 24rpx;
				position: absolute;
				top: 0;
				right: 0;
				border-radius: 0rpx 24rpx 0rpx 24rpx;
				padding: 20rpx;
				background-color: rgba(255, 255, 255, .33);
			}
		}
	}
</style>